package com.xywl.escort.view.market;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BannerResp;
import com.xywl.escort.bean.GoodListReq;
import com.xywl.escort.bean.MarketListResp;

public class MarketContract {

    interface Presenter extends BasePresenter {
        void takeView(MarketContract.View view);

        void loadBanner();

        void loadMarketList(GoodListReq req);
    }

    interface View extends BaseView<Presenter> {

        void loadBannerSuccess(BannerResp resp);

        void loadBannerFailure();

        void updateMarketList(MarketListResp.DataBean dataBean);

        void loadMarketFailure();
    }
}
